home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Toolbox / Visual Basic Toolbox (P.I.E.)(1996).ISO / dde / odbcncap / odbcor_m.bi < prev    next >
Text File  |  1995-06-15  |  3KB  |  32 lines

  1. '
  2. '|========================================================================|
  3. '| ODBC Module Core Definitions                                           |
  4. '|========================================================================|
  5. '
  6. '  ODBC Core API's Definitions
  7. '
  8. Declare Function SQLAllocConnect Lib "odbc.dll" (ByVal henv&, phdbc&) As Integer
  9. Declare Function SQLAllocEnv Lib "odbc.dll" (phenv&) As Integer
  10. Declare Function SQLAllocStmt Lib "odbc.dll" (ByVal hdbc&, phstmt&) As Integer
  11. Declare Function SQLBindCol Lib "odbc.dll" (ByVal hstmt&, ByVal icol%, ByVal fCType%, rgbValue As Any, ByVal cbValueMax&, pcbValue&) As Integer
  12. Declare Function SQLCancel Lib "odbc.dll" (ByVal hstmt&) As Integer
  13. Declare Function SQLColAttributes Lib "odbc.dll" (ByVal hstmt&, ByVal icol%, ByVal fDescType%, rgbDesc As Any, ByVal cbDescMax%, pcbDesc%, pfDesc&) As Integer
  14. Declare Function SQLConnect Lib "odbc.dll" (ByVal hdbc&, ByVal szDSN$, ByVal cbDSN%, ByVal szUID$, ByVal cbUID%, ByVal szAuthStr$, ByVal cbAuthStr%) As Integer
  15. Declare Function SQLDescribeCol Lib "odbc.dll" (ByVal hstmt&, ByVal icol%, ByVal SzColName$, ByVal cbColNameMax%, pcbColName%, pfSqlType%, pcbColDef&, pibScale%, pfNullable%) As Integer
  16. Declare Function SQLDisconnect Lib "odbc.dll" (ByVal hdbc&) As Integer
  17. Declare Function SQLError Lib "odbc.dll" (ByVal henv&, ByVal hdbc&, ByVal hstmt&, ByVal szSqlState$, pfNativeError&, ByVal szErrorMsg$, ByVal cbErrorMsgMax%, pcbErrorMsg%) As Integer
  18. Declare Function SQLExecDirect Lib "odbc.dll" (ByVal hstmt&, ByVal szSqlStr$, ByVal cbSqlStr&) As Integer
  19. Declare Function SQLExecute Lib "odbc.dll" (ByVal hstmt&) As Integer
  20. Declare Function SQLFetch Lib "odbc.dll" (ByVal hstmt&) As Integer
  21. Declare Function SQLFreeConnect Lib "odbc.dll" (ByVal hdbc&) As Integer
  22. Declare Function SQLFreeEnv Lib "odbc.dll" (ByVal henv&) As Integer
  23. Declare Function SQLFreeStmt Lib "odbc.dll" (ByVal hstmt&, ByVal fOption%) As Integer
  24. Declare Function SQLGetCursorName Lib "odbc.dll" (ByVal hstmt&, ByVal szCursor$, ByVal cbCursorMax%, pcbCursor%) As Integer
  25. Declare Function SQLNumResultCols Lib "odbc.dll" (ByVal hstmt&, pccol%) As Integer
  26. Declare Function SQLPrepare Lib "odbc.dll" (ByVal hstmt&, ByVal szSqlStr$, ByVal cbSqlStr&) As Integer
  27. Declare Function SQLRowCount Lib "odbc.dll" (ByVal hstmt&, pcrow&) As Integer
  28. Declare Function SQLSetCursorName Lib "odbc.dll" (ByVal hstmt&, ByVal szCursor$, ByVal cbCursor%) As Integer
  29. Declare Function SQLSetParam Lib "odbc.dll" (ByVal hstmt&, ByVal ipar%, ByVal fCType%, ByVal fSqlType%, ByVal cbColDef&, ByVal ibScale%, rgbValue As Any, pcbValue&) As Integer
  30. Declare Function SQLTransact Lib "odbc.dll" (ByVal henv&, ByVal hdbc&, ByVal fType%) As Integer
  31.  
  32.